package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.EhmInfoSrc;
import com.aijk.ehm.model.EhmInfoSrcExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmInfoSrcMapper {
    int countByExample(EhmInfoSrcExample example);

    int deleteByExample(EhmInfoSrcExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmInfoSrc record);

    int insertSelective(EhmInfoSrc record);

    List<EhmInfoSrc> selectByExample(EhmInfoSrcExample example);

    EhmInfoSrc selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmInfoSrc record, @Param("example") EhmInfoSrcExample example);

    int updateByExample(@Param("record") EhmInfoSrc record, @Param("example") EhmInfoSrcExample example);

    int updateByPrimaryKeySelective(EhmInfoSrc record);

    int updateByPrimaryKey(EhmInfoSrc record);
}